﻿using System;

namespace DO.DreamOnTrader.Quote
{
	public delegate void EndQuoteEventHandler(object sender, EventArgs e);

	/// <summary>
	/// 報價產生器介面
	/// </summary>
	public interface IQuoteBuilder
	{
		/// <summary>
		/// 開始接收報價
		/// </summary>
		/// <returns></returns>
		bool Start();

		/// <summary>
		/// 停止報價
		/// </summary>
		/// <returns></returns>
		bool Stop();

		/// <summary>
		/// 報價結束時觸發的事件
		/// </summary>
		event EndQuoteEventHandler EndQuote;

	}
}
